ci: drop BDB1539 workaround
authorJonathan Lebon <jonathan@jlebon.com>
Mon, 23 Apr 2018 17:36:38 +0000 (13:36 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 24 Apr 2018 13:16:59 +0000 (13:16 +0000)
This shouldn't be an issue anymore.

Closes: #1553
Approved by: cgwalters

ci/libpaprci/libbuild.sh

index 62dc2b2937969f73cb83b34895f9f4a64ac3e6b1..6ce7dcece7a78e610c89dcc851d78c4e62a6416c 100644 (file)
@@ -6,18 +6,7 @@ OS_ID=$(. /etc/os-release; echo $ID)
 OS_VERSION_ID=$(. /etc/os-release; echo $VERSION_ID)
 
 pkg_upgrade() {
-    # https://bugzilla.redhat.com/show_bug.cgi?id=1483553
-    local ecode=0
-    yum -y distro-sync 2>err.txt || ecode=$?
-    if test ${ecode} '!=' 0 && grep -q -F -e "BDB1539 Build signature doesn't match environment" err.txt; then
-        rpm --rebuilddb
-        yum -y distro-sync
-    else
-        if test ${ecode} '!=' 0; then
-            cat err.txt
-            exit ${ecode}
-        fi
-    fi
+    yum -y distro-sync
 }
 
 make() {